﻿using System;
using System.Runtime.Serialization;

namespace Serializer
{
    [Serializable]
    [DataContract] 
    public class Book
    {
        [DataMember]
        public int ID { get; set; }

        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public float Price { get; set; }
    }
}
